Apparatus for determining depth of a well tool in a borehole by measurement of tension

ABSTRACT

IN ACCORDANCE WITH AN ILLUSTRATIVE EMBODIMENT OF THE PRESENT INVENTION, APPARATUS FOR ACCURATELY AND CONTINUOUSLY DETERMINING CHANGES IN DEPTH OF A TOOL IN A BOREHOLE ARE DISCLOSED. MORE PARTICULARLY, THE TENSILE FORCE BETWEEN THE TOOL AND ITS SUPPORTING CABLE IS MEASURED, AS IS THE MOVEMENT OF THE CABLE AT THE SURFACE OF THE EARTH. THE TENSION AND CABLE MOVEMENT MEASUREMENTS ARE THEN COMBINED IN A COMPUTER ALONG WITH A PLURALITY OF CONSTANTS REPRESENTATIVE OF VARIOUS CHARACTERISTICS OF THE CABLE AND ITS SURROUNDING MEDIUM TO PRODUCE AN OUTPUT SIGNAL REPRESENTATIVE OF THE MOVEMENT OF THE TOOL DUE TO THE CHANGE IN TENSION. THE COMPUTER SOLVES A SECOND ORDER DIFFERENTIAL EQUATION WHICH INCLUDES INVERSE AND INVERSE SQUARED FUNCTIONS OF THE TOOL DEPTH. POTENTIOMETES WHICH VARY DIRECTLY LINEAR WITH DEPTH ARE PROVIDED IN APPROPRIATE FEEDBACK PATHS OF THE COMPUTER TO PRODUCE THESE INVERSE AND INVERSE SQUARED FUNCTIONS, THE COMPUTER OUTPUT SIGNAL IS THEN COMBINED WITH THE ORIGNAL CABLE MOVEMENT MEASUREMENT TO PRODUCE A SIGNAL REPRESENTATIVE OF THE INSTANTANEOUS CHANGES IN DEPTH OF THE TOOL.

Jan. 5, 1971 w. A. wHn'FlLl. 3,552,025

APPARATUS FOR DETERMINING DEPTH OF A WELL TOOL IN A BOREHOLE BY MEASUREMENT OF TENSION Original Filed Jan. 3. 1966 2 Sheets-Sheet 1 Jan. 5, 1971 w. A. wHlTFlLL 3,552,025

APPARATUS FOR DETERMINING DEPTH OF A WELL TOOL IN A BOREHOLE BY MEASUREMENT OF TENSION Original Filed Jan. 5, 1966 2 Sheets-Sheet 2 United States Patent O 3,552,025 APPARATUS FOR DETERMINING DEPTH OF A WELL TOOL IN A BOREHOLE BY MEASURE- MENT OF TENSION William A. Whittill, Houston, TeX., assignor, by mesne assignments, to Schlumberger Technology Corporation, Houston, TeX., a corporation of Texas Original application Jan. 3, 1966, Ser. No. 518,415, now Patent No. 3,465,448. Divided and this application Feb. 10, 1969, Ser. No. 822,772

Int. Cl. G0111 3/12, 5/04 U.S. Cl. 33-133 3 Claims ABSTRACT OF THE DISCLOSURE In accordance with an illustrative embodiment of the present invention, apparatus for accurately and continuously determining changes in depth of a tool in a borehole are disclosed. More particularly, the tensile force between the tool and its supporting cable is measured, as is the movement of the cable at the surface of the earth. The tension and cable movement measurements are then combined in a computer along with a plurality of constants representative of various characteristics of the cable and its surrounding medium to produce an output signal representative of the movement of the tool due to the change in tension. The computer solves a second order differential equation which includes inverse and inverse squared functions of the tool depth. Potentiometers which vary directly linear With depth are provided in appropriate feedback paths of the computer to produce these inverse and inverse squared functions. The computer output signal is then combined with the original cable movement measurement to produce a signal representative of the instantaneous changes in depth of the tool.

This is a division of application Ser. No. 518,415, led Jan. 3, 1966, now Pat. No. 3,465,448.

This invention relates to apparatus for accurately and continuously determining the length of an elastic cable under tension and more particularly to methods and apparatus for determining the true position of a tool suspended on the end of an elastic cable as the tool on the end of the cable is moved up and down.

This invention is particularly adapted for use in the logging of a borehole where measurements of the surrounding earth formations are taken at different depths along the borehole. The measurements taken along the length of the borehole are intended to provide indications of oil or gas bearing strata and therefore the depth of the logging or measuring tool below the surface of the earth must be accurately determined at all times so that the measurements taken throughout the borehole may be accurately correlated with the true depth of the logging or measuring tool. The measurements of the earth formations surrounding the borehole are generally taken as the logging or measuring tool is moved up the borehole.

To determine the depth of the logging or measuring device in the borehole, a means of determining the length of cable that is lowered into the borehole may be utilized; that is, the actual number of feet of cable lowered into the borehole by a cable reeling device at the surface of the earth is counted. Many systems have been proposed for measuring the cable length, which gives the position of the measuring or logging tool within the borehole. Some of these are sheave devices located at the surface of the earth which provide a measurement of the length of cable which passes over the sheave. Other systems utilize a sensing device responsive to magnetic marks on the cable along the length of the cable, which system measice ures the length between the magnetic marks as the cable is payed out or taken in.

However, there are forces that work on the measuring or logging tool within the borehole which cause these cable length indicating devices at the surface of the earth to give inaccurate readings. Some of these forces include the weight of the measuring or logging tool and the lweight of the cable which connects it to the cable reeling device at the surface of the earth, the buoyant force of the drilling liquid or mud in the borehole, and the drag or frictional forces applied by both the drilling liquid or mud and by the wall of the borehole to both the cable and the measuring or logging tool.

When investigating earth formations surrounding the borehole, the measuring or logging tool is generally lowered to the bottom of the borehole and the logging measurements are taken as the logging tool moves up the borehole. However, when the cable reeling device at the surface of the earth is stopped, the logging tool at the end of the great length of cable will continue moving downward for some distance due to the inertia of the logging tool and the cable and the elasticity of the cable. However, the depth indicating device at the surface of the earth will stop at the moment the cable reeling device is stopped. As a result, the depth indicating device at the surface of the earth will give an erroneous depth indication of the logging tool at the bottom of the borehole. In addition, When the cable is being reeled in, thus moving the measuring or logging tool up the borehole, the forces acting on the logging tool and the cable will cause the cable to stretch, thus causing the logging tool to be located at a different depth than the depth indicated on the depth indicating device at the surface of the earth.

One method for correcting for depth errors is to utilize a tension measuring device at the surface of the earth, as shown in U.S. Pat. No. 3,027,649, granted to Raymond W. Sloan on Apr. 3,1962. However, an uphole tension device can only provide an average measure of the tension encountered by the logging tool in the borehole because of the thousands of feet of cable between the logging tool and the surface of the earth A force applied to the logging tool in the borehole would not appear immediately at the surface of the earth in the form of a change in tension because of the great length of cable, and the measured force appearing at the surface of the earth in the form of a tension measurement would be vastly distorted because of damping by the cable. The tension variations occurring at the logging tool in the borehole may be delayed by as much as several seconds from reaching the surface due to this travel time inthe cable.

However, a serious error may also occur if the logging tol becomes momentarily stuck against the wall of the borehole as the tool is moving through the borehole. In this instance the logging tool will be at a constant depth while at the same time the depth indicator at the surface of the earth is continually moving, thus introducing an excessive error into the indicated depth. Now, when the logging tool becomes unstuck, the elasticity of the cable will cause the logging tool to move at a great rate beyond the depth indicated by the depth indicating device at the surface of the earth and the logging tool will oscillate before reaching equilibrium. Thus it can be seen that the logging tool may have very rapid changes in depth, which depth changes may be extreme. Since these depth changes are instantaneous, a surface tension measuring device could not accurately determine these depth changes at the time they occur.

This error introduced by the indeterminant stretching of the cable can be excessive for the accurate determination of the depth of the oil bearing strata.

When the earth strata surrounding the borehole are investigated, the location and quantity of oil sometimes cannot be determined by any one investigating method. In such cases several different investigating methods have to be utilized and the data obtained therefrom combined and analyzed before an oil bearing strata can be located. The apparatus for carrying out the different investigating methods cannot all be lowered into the borehole at the same time under existing investigating procedures. Thus, the various logging tools must sometimes be lowered into the borehole at different times.

To combine all of the various logging readings by the different investigating apparatus in such a manner as to determine the exact location of oil bearing strata, the depth indication of each logging run must correlate very accurately with one another or else the combination, analysis, and computation of the different measurements taken with the different measuring or logging tools will not provide the desired result. To combine these various logging runs in such a way that the computations taken therefrom will provide the desired information, the depth indications from the various logging runs may have to be accurate to within approximately one inch of one another. Since any instantaneous changes of depth by the logging tool could not be accurately determined by a surface tension measuring device alone, the analysis of several different logging runs could lead to inaccurate conclusions when surface tension alone is utilized for depth determinations.

One present-day example of making multiple logging runs in the same borehole concerns the automatic computation of the apparent resistivity RWa of the natural occurring water within the porous formations surrounding the borehole. To obtain RWS., a previously recorded induction log is played back in depth synchronism with a sonic log being presently run. The sonic and induction log data are continuously fed to an automatic computer to calculate the value of Rwa and this computed Rwa is simultaneously recorded with the sonic log. It can be seen that the depth of the sonic and induction logs must be accurate with respect to one another to obtain an accurate calculation of RWE.

It is also desirable to have an accurate indication of the velocity of the measuring or logging device moving through the borehole. For example, when a dipmeter tool is run through the borehole to determine the dip of the adjacent earth strata that is, the angle that the bedding plane of the earth strata differs from the horizontal the distance M between signal indications on different circumferential points around the borehole is obtained by moving the dipmeter across a boundary between different earth strata having different resistivity characteristics. This distance M is determined by the formula Va M Mr-Vr where M is the actual distance between the signal indications, M, is the indicated distance between the signal indications on the recorder, Vr is the velocity of the recorder at the surface of the earth, and Vd is the average velocity of the dipmeter device over the interval between the indications. It can be seen that if the actual velocity of the dipmeter is different from the recorder velocity, the error in computing M will be given by the formula: lil-Mr Vd--Vr Mr Vr Thus when the actual velocity of the dipmeter tool is different from the recorder velocity, an error in the measured dip of the borehole will occur. lf, however, the instantaneous depth error is corrected, the velocity depth error will also be corrected. A correction of average depth error on the other hand, would not provide a correction of velocity error.

lt has been dscoveed, however, that by measuring the tension dowuhole at the tool, the instantaneous changes 4 in depth can be determined and thus, the depth error can be corrected. The equations for this depth correction have been developed in copending application Ser. No. 518,370 now Pat. No. 3,465,447, by William E. Bowers et al., filed Jan. 3, 1966.

However, another problem arises in Connection with solving the second order linear differential equation developed in the above copending application. The equation has an inverse function of the length of cable (l/L) and inverse squared function (1/L2), which must be solved. However, a problem arises in accurately solving an equation with inverse and inverse square functions, since, for example, when the investigating tool is near the surface of the earth, the inverse functions and especially the inverse squared function will approach infinity. Thus, it would be desirable to solve the equation developed in the above named copending application without these problems.

It is an object of the invention, therefore, to provide new and improved apparatus for determining the instantaneous depth of a tool within a borehole.

It is another object of the invention to provide new and improved apparatus for determining the instantaneous changes in depth of a tool in a borehole.

It is still another object of the invention to provide new and improved apparatus for continuously and automatically correcting a recording device at the surface of the earth to provide instantaneous values of depth of a tool in a borehole.

It is still another object of the invention to provide new and improved apparatus for performing the above objects by solving an equation having variable terms, including inverse and inverse square terms `which vary as a function of cable length, in a manner which provides accurate indications regardless of the length of cable in the borehole.

In accordance with the present invention, apparatus for determining the changes in depth of a tool on the end of a cable in a borehole is responsive to a tension signal which is a function of at least a fraction of the tension in the cable at a point below the surface of the earth and a depth signal which is representative of a function of the depth of a tool in a borehole. This apparatus comprises an input means for receiving a tension signal and a depth signal and a combining means which is responsive to the tension signal and the depth signal for generating an output signal indicative of the changes in depth of the tool relating to the measured tension. To produce this output signal, the combining means includes first amplifier means responsive to the tension signal for producing an amplifier output signal and feedback means, including a linearly variable means having a parameter varied in response to the depth signal, for supplying the first amplifier output signal to the input of the first amplifier. By so doing, the output of the first amplifier will vary as the product of the tension signal and an inverse function of the depth signal. The combining means further includes means responsive to the output signal from the first amplifier for producing the output signal representative of depth changes.

For a better understanding of the present invention, together with other and further objects thereof, reference is had to the following description taken in connection with the accompanying drawings, the scope of the invention being pointed out in the appended claims.

Referring to the drawings:

FIG. l illustrates a tool in a borehole together with a schematic diagram of apparatus for correcting the depth of a tool in a borehole in accordance with the present invention; and

FIG. 2 illustrates the analog computer circuit utilized in the depth correcting apparatus of the present invention.

Referring to FIG. l of the drawings, there is shown a representative embodiment of apparatus constructed in accordance with the present invention for providing im stantaneous corrections of the depth of a tool 10 lowered in a borehole 11 for investigation of the earth formations Surrounding borehole 11. The tool 10 is a three-electrode focused electrode system wherein a survey current is emitted from central survey electrode A and is confined to a path outward from the borehole 11 by a focusing current emitted from focusing electrodes A1 on either side thereof. Thus, the portion of the surrounding earth formations that is investigated at any one time is that portion which is adjacent to central survey electrodes A0. Thus, it can be seen that only a small vertical portion of the surrounding earth formations is investigated at any one instant of time, and thus the depth of central survey electrode A0 must be accurately known before an oil bearing earth strata indicated by the logging tool can be accurately penetrated. The focused electrode tool 10 shown in FIG. l is only an illustrative example and any type of logging tool could be utilized. The logging measurements from logging tool 10 are passed upward through armor multiconductor cable 12 via conductors 15 and 16 to recorder 14 at the surface of the earth from the electrical circuitry contained within logging tool 10.

If now three-electrode focused electrode tool 10 were withdrawn from the borehole after a first logging run, which log was recorded in recorder 14, and another logging run made with another type of logging tool, as for example, a sonic or induction logging tool, which second log was run concurrently with a playback of the first run log, it can be seen that the depth of the two logs must coincide exactly for the computed information obtained from both of the logs together to be useful. If the two logs are out of depth synchronism, the computations obtained from the combined logs may be erroneous and misleading.

Before any apparatus can be constructed to provide depth correction of a tool on the end of an elastic cable thousands of feet in the earth, the equation describing the motion of that tool in the borehole must first be ascertained. This equation, which has been solved in the above named copending application of William E. Bowers et al., is:

where M is the mass of the cable per unit length in slugs per foot, L is the length of the cable in feet, B is the viscous damping on the cable, E is the stretch coefiicient of the cable in feet per feet per pound, At is the change in tension from a reference tension between the cable and the tool in pounds, ,u is the displacement in feet of the tool caused by the change in tension, ,t is alu/dt, and ii is dZa/dt', t being time.

Looking now at FIG. 1, there is shown the apparatus for determining the tension between the cable 12 and the logging tool 10, transmitting a signal representative of this tension to the surface of the earth, computing the depth error jt, and correcting the depth drive to the recorder.

The depth correction downhole circuitry is contained Within a fluidtight housing unit 16 within the head of the logging device 10. The electrical schematic of the downhole depth correction circuitry is shown contained within dotted line enclosure 16, which corresponds to the uidtight housing unit 16. There is shown the tension device 17 located in the top portion of the logging tool 10. Tension device 17 has two semiconductor strain-gage elements R2 and R4. The resistances of semiconductor strain-gage elements R2 and R4 will Vary as the tension between logging tool 10 and cable 12 varies. Shown within the housing unit 16 is a bridge circuit 18, cornprising resistor elements R1 and R3 and semiconductor strain-gage elements R2 and R4, represented as dotted lines in bridge circuit 18. Resistance elements R1 and R3 are non-strain-gage type gages, used for temperature and linearity compensation. An oscillator 19 is shown connected to the junction between resistor element R3 and semiconductor strain-gage element R2 and the junction between resistor element R1 and semiconductor straingage element R4. The input to a downhole amplifier 20 is connected between the junction between resistor element R3 and semiconductor strain-gage element R4 and the junction between resistor element R1 and semiconductor strain-gage element R2.

The DC power input to oscillator 19 and amplifier 20 is supplied by way of conductor 21 through armored multiconductor cable 12 from DC power supply 22. at the surface of the earth. The output from downhole amplifier 20 is connected to conductor 21 through a DC blocking capacitor 48, located within downhole housing unit 16. Conductor 21 is shown separate from armored multiconductor cable 12 for purposes of clarity of the electrical schematic portion of FIG. l, but is actually located therein. The input to an amplifier 23 at the surface of the earth is supplied through a DC blocking capacitor 49 from conductor 21. One output from amplilier 23 is connected to the input of a detector 24. The output of detector 24 is connected to the input of au analog computer 26. The output from analog computer 26 is connected to a junction point 27. The output from junction point 27 is connected to an amplifier 28a and servo motor 28b. The mechanical output of servo motor 28b is supplied through a junction point 50 to a differential gear 29. Junction point 50 also supplies the mechanical output of servo motor 28b to rotate the Wiper arm of potentiometer 51. A battery 52 having a grounded negative terminal is connected across the resistance portion of potentiometer 51. The wiper arm of potentiometer 5.1 is electrically connected to a negative junction of junction point 27 thus providing a negative feedback to amplifier 28a.

There is also shown in FIG. 1 a depth measuring device 30 which determines the true average depth of tool 10 within the borehole and provides a mechanical rotational output to junction point 54 indicative of the movement of the cable 12 in and out of the borehole. This rotational input to junction point 54 is indicative of the true average depth of tool 10 within the borehole. The rotational outputs from junction point 54 are connected to the input of the differential gear 29 by a shaft 46 and to a gear 31. The mechanical rotational output of gear reducer 31 is connected to portions of analog computer 26 by shaft 38, the purposes of this mechanical connection to be explained in further detail later.

The mechanical rotational output from differential gear 29 is connected to recorder 14 by shaft 47. Shaft 47 is shown rotatively connected to chart 32 within recorder 14 to move chart 32 as shaft 47 rotates. The logging readings supplied via conductors 15 and 16 to galvanometer unit 33 within recorder 14 are recorded on chart 32. Shaft 47 is also connected to a depth indicating mechanism 34 which places a mark on chart 32 at set intervals of depth as determined by the rotation of shaft 47.

Now concerning the operation of the depth correction system of FIG. l, the semiconductor strain-gage elements |R2 and R4 of tension device 17 will vary in resistance as the tension between logging device 10 and cable 12 Varies. Oscillator 19, which supplies a constant voltage output at a constant frequency, supplies the power to bridge circuit 18. The output voltage from bridge circuit 18 to amplifier 20 will vary as the resistance of semiconductor strain-gage elements R2 and R4 vary. By having two semiconductor strain-gage elements, the output to amplifier 20 will have twice the magnitude as compared with just one semiconductor strain-gage element. The output amplitude from amplifier 20 will vary in proportion to the tension registered by tension device 17.

The DC power for oscillator 19 and amplifier 20 is supplied over the same conductor, i.e. conductor 21, that carries the output signal from amplifier 20 within housing unit 16 to amplifier 23 at the surface of the earth. Capacitors 48 and 49 filter the DC from amplifiers 20 and 23. Thus, it is possible by this means to use only one conductor for the downhole tension measurements, thus saving space within multiconductor cable 12 where space is at a premium.

After amplification by amplifier 23, the downhole tension signal is applied to detector 24. The output of the detector 24 provides a DC voltage proportional to downhole tension which is fed to analog computer 26.

Before proceeding with the discussion of the depth correction to be made by analog computer 26, it would be helpful at this time to discuss the basis for the depth corrections to be made. The mechanical rotational output from depth measuring device 30 is assumed to be an accurate representation of average depth taking into account average values of cable stretch as determined by known methods, as for example, that shown in U.S. Pat. No. 3,067,519 granted to G. Swift on Dec. 1l, 1962 or U.S. Pat. No. 3,027,649 granted to R. W. Sloan on Apr. 3, 1962. This true average depth indication is supplied to junction point S4 which provides rotational outputs to differential gear 29 and gear 31. However, this true average depth indication does not provide for depth errors caused by erratic motion of the tool 10, as for example, when it becomes caught on the sides of the borehole 11. A tension created by such erratic tool motion is substantially delayed from reaching the surface of earth due to the great length of cable 12 between the tool and the surface of the earth. In addition, the tension on the cable at the tool caused by such erratic tool motion is vastly distorted before reaching the surface of the earth due to the damping of the cable. Thus, the need is seen for adding a function to the true average depth output from depth measuring device 30, which function represents erratic tool motion.

Before a logging run into the borehole 11, the output of detector 24 is set at zero volts with the cable 12 and tool 10 lowered into the borehole 11 in the drilling mud 13 under steady state conditions, i.e., no forces acting on the cable 12 or tool 10 other than their own weight and the buoyant force of drilling mud 13. Therefore, the output from detector 24 is a DC voltage representing the change in downhole tension from this steady state condition and thus represents instantaneous depth changes caused by erratic tool motion.

Analog computer 26 must be adapted to solve Equation 1 and provide an output voltage indicative of the depth error it. To solve Equation l, a signal indicative of the second derivative ,u of the depth error p. must be applied to a series of integrating circuits to obtain the rate of change of depth error it and the depth error u. Therefore, we must solve for the second derivative a of depth error ,u from Equation l. Rearranging Equation l, we have:

However, looking at Equation 2, it can be seen that each of the terms At, and n have variables. The At portion of Equation 2 has a length L term in the denominator thereof, the term has a damping coefficient term B in the numerator, and the it portion of Equation 2 has an L2 term and a cable stretch coefiicient E term in the denominator thereof. The L terms represent the length between the surface of the earth and the logging tool 10 within the borehole, which varies as the logging tool 10 is raised or lowered in the borehole 1l. The damping coeficlcient B term is a function of the viscosity ofthe drilling mud 13 located within the borehole and varies from borehole to borehole, but remains constant within any given borehole. The cable stretch coefiicient E term varies for different types of cables, but remains constant for any given cable. Therefore concerning the B and E terms, a variable component could be adjusted before a run into the borehole and would remain constant for the remainder of the logging run within that borehole.

However, the length L terms vary as the logging device 10 is raised or lowered in the borehole and thus more elaborate means must be provided to incorporate this length L term into the solution of Equation 2. It would be desirable to incorporate this length L term into analog computer 26 with a minimum of equipment and preferably with a component that varies directly as the length L varies. It is possible to provide potentiometers which vary as the inverse of a function and the inverse of the function squared, but these potentiometers are difiicult and expensive to construct in order to obtain the desired accuracy. For example, when the length L is Zero, the resistance should be large, and when the length L is very great, the resistance should be Very small, especially for the l/L2 term. Thus, it would be desirable to provide an analog computer circuit in which the length L terms can be provided by potentiometers which vary directly as the length L varies.

Looking now at FIG. 2, there is shown the analog computer circuit 26 which solves Equation 2 and provides the length L terms by potentiometers which vary directly as the length L. The output of detector 24 is connected to a fixed resistor R11, the other side of which is connected to a point X. The point X is connected to a high input impedance amplifier, whose output is connected to one side of the resistance portion of a potentiometer R11, the other side of the resistance portion of potentiometer R14 being connected to ground. The wiper arm of potentiometer R11 is connected through a fixed resistor R13 back to the point X. The output of amplifier A1 is also connected through a fixed resistor R6 to a point Y. The point Y is connected to a high input impedance amplifier A2. The output of amplifier A2 is connected to one side of the resistance portion of a potentiometer R7, the other side of the resistance portion of R7 being connected to ground. The wiper arm of potentiometer R7 is connected through a fixed resistor R5 back to the point Y. The output of amplifier A2 is also connected through a capacitor iC1 back to the point Y.

The output of amplifier A2 is also connected through a fixed resistor R8 to a point Z. The point Z is connected to the input of a high input impedance amplifier A3, the output of which is connected through a voltage dividing network comprising the resistance portion of a potentiometer R9 and resistor R10 to ground. A wiper arm 57 of potentiometer R9 is connected to the side of the resistance portion of potentiometer R9 which is connected to the output of amplifier A2. The junction point between the resistance portion of R9 and resistor R11, is connected to a first side of the resistance portion of a potentiometer R12, the other side of the resistance portion of potentiometer R12 being connected to the point X. The first side of potentiometer R12 is also connected to a wiper arm 56 of potentiometer R12. The output of amplifier A3 is also connected through a capacitor C2 back to the point Z. The output of amplifier A3 is also connected to junction point 27 of FIG. 1. The wiper arm of potentiometer R14 and the wiper arm 56 of potentiometer R12 are connected to the common Shaft 38 which is connected to gear reducer 31 of FIG. l. Thus, the wiper arm of potentiometer R11 and the wiper arm 56 of potentiometer R12 rotate across the resistance portions of potentiometers R12 and R11 with the rotation of shaft 38.

Looking at the input X to amplifier A1 we know that the sum of the currents into the point X must `be equal to 0. Since the input impedance of amplifier A1 is very high compared to the summing and feedback resistors,

the current into the amplifier can be neglected. We can write the equation for the current into the point X as:

Looking at the first term on the right-hand side of the equal sign of Equation 4 and from the At term of Equation 2, we can write the relationship:

From the p. term of Equation 4 and the ,u term of Equation 2, we can write the relationship:

kRia 1 @R12-AIMME (6) Thus, looking at Equations 5 and 6, if a is set proportional to L, it can be seen that the resistance portions of the potentiometers can be directly linear and shaft 38 can drive the wiper arm of potentiometer R11 and wiper arm 56 of potentiometer R12 to obtain the L and L2 terms of Equation 2. Thus, no inverse or squared term potentiometers are required in the FIG. 2 circuit. Also, the wiper arm S7 of potentiometer R9 can be initially set proportional to the cable stretch coefficient E.

Looking now at the output e1 of amplifier A2, we can write the relationship:

1 ezcfzl 7) where i1 is the current through capacitor C1. Taking the Laplace transform of Equation 7, we have:

Fai-1s I 8) Solving for I1, we can write:

Ilzelcls Looking now at the input to amplifier A2, designated Y, since the sum of the currents into point Y equals 0 and the input impedence to amplifier A2 is vely high, we can write the current relationship:

Looking at the integrating circuit from the output e0 of amplifier A1 to capacitor C1 only, and neglecting for a moment the feedback path through resistor R5, we can write the relationship:

The relationship given by Equation 12 provides the integrating circuit from the output e0 of amplifier A1 with R6 and C1 providing this time constant. If point Y is designated as the second derivative ,a of the depth error a, we know that the output e1 of amplifier A2 will be proportional to the negative Value of the first derivative y. of the depth error a. The signal at the wiper arm of R7 is then ir and is added to the input of the amplifier A2 through R5. Thus, we have:

Solving for the output e1 of amplifier A2 from Equation 13, we have:

From Equation 2, we know that fr is multiplied by the term B/M. Since the last term on the right hand side of the equal sign in Equation 15 is the first derivative /r component of the depth error ,u which is supplied to point Y (f e. il), we can determine the relationship for B/M in terms of circuit components as:

Thus by equating ,B to B when M is equal to R5C1 we can vary the potentiometer R7 to obtain the correct value of B for any given borehole.

Looking now at the input Z to amplifier A2, we can write the equation for the currents into point Z as:

a: @was 0 17) where e2 is the output voltage from amplifier A3. Solving for e2 we have:

e it

Taking the inverse Laplace transform of Equation 18, we have:

l e2"lesczfeldt 19) Since e1=a, we know that e2 must be proportional to u, with .R8 and C2 determining the gain for the integrating circuit.

Thus, it can be seen that the output e0 from amplifier A1 contains the At and a portions of Equation 2 and the current through resistor R5 contains the portion of Equation 2. Thus, the voltage at the input to amplifier A2, from Equation 2 is equal to the second derivative of the depth error n. The output e1 of amplifier A2 provides the first derivative a of the depth error a after integration. The output voltage e2 from amplifier A3 provides the depth error p. after integration.

Referring back to FIG. l, the depth error ,u output from integrator 41 is supplied to junction point 27 and then to amplifier 28a. ,Servo motor 28h provides a mechanical output to junction point 50 porportional to the signal supplied from junction point 27. One mechanical rotational output from junction point 50 is used to drive the wiper arm of potentiometer 51. The voltage on the wiper arm of potentiometer 51 which depends on the point on the resistance portion of potentiometer 51 which the wiper arm is contacting, is thus proportional to the position of shaft 4S which is connected to differential gear 29. This signal from the wiper arrn of potentiometer 51 is subtracted by junction point 27 from the signal which is supplied to junction point 27 from analog computer 26 and the resultant signal is supplied to amplifier 28a. Thus it can be seen that servo motor 28b provides a mechanical output through junction point 50 to shaft 4S as long as there is a signal applied to amplifier 28a from junction point 27. The position of shaft 45 will at all times be substantially equal to the depth error it as calculated by analog computer 26.

The differential gear 29 adds the rotation of shaft 45 and 46 representing the depth error ,u. and the true average depth L respectively, and provides a rotational output t0 recorder 14 on shaft 47, which rotation is equal to the sum of L+n. This value of L-t-n provides the corrected depth indication to chart 32 of recorder 14. Shaft 47 is also connected to depth indicator 34 which provides depth indications on chart 32 at given intervals. The logging readings supplied by conductors 15 and 16 through armored multiconductor cable 12 from the logging tool 10 within the borehole, are supplied to galvanometer unit 33 which provides visual markings on chart 32 indicative of the logging readings. Thus, it can be seen that the logging readings provided by galvanometer unit 33 can be correlated with the true depth markings as provided by depth indicator 34.

It can now be seen that by means of the apparatus of the present invention, the depth error n can be determined at all times and the recording equipment at the surface of the earth can be continuously corrected to provide an indication of the actual instantaneous depth of the logging tool in the borehole by providing indications of the downhole tension to computing and correction apparatus at the surface of the earth. Thus, the error in correcting erratic tool motion using surface tension measurements due to distortion and delay caused by the tension at the logging tool traveling through thousands of feet of cable will be corrected. Therefore, the exact depth of oil bearing strata can be accurately determined, and the correlation of two or more logging runs can now be made very accurate to provide data for determining where oil bearing strata are located along with accurate determinations of the amount of oil in those oil bearing stratas. It is to be understood that a tension device could alternatively be located between two segments of the cable rather than between the cable and tool and still be within the scope of the invention, although the accuracy may be less as the distance from the tool increases. In this case, the length L of Equation 2 would be considered from the tension device to the surface rather than from the tool to the surface, all other parameters being the same.

While there has been described what is at present considered to be the preferred embodiment of this invention, it will be obvious to those skilled in the art that various changes and modifications may be made therein without departing from the invention, and it is therefore, intended to cover all such changes and modifications as fall within the true spirit and scope of the invention.

What is claimed is:

1. In an apparatus for determining the changes in depth of a tool on the end of a cable in a borehole in response to a tension signal which is a function of at least a fraction of the tension in the cable at a point below the surface of the earth and a depth signal representative of a function of the depth of a tool in a borehole, the combination comprising:

(a) input means for receiving a tension signal and a depth signal; and

(b) combining means responsive to the tension signal and the depth signal for generating an output signal indicative of the changes in depth of the tool relating to the measured tension, the combining means including:

(l) first amplifier means responsive to the tension signal for producing an amplifier output signal;

(2) feedback means, including a linearly variable means having a parameter varied in response to the depth signal, for supplying said first amplifier output signal to the input of said first amplifier whereby the output of said first amplifier will vary as the product of said tension signal 12 and an inverse function of said depth signal; and

(3) means responsive to the output signal from said first amplifier for producing said output signal representative of depth changes.

2. In apparatus for determining the changes in depth of a tool on the end of a cable in a borehole in response to a tension signal which is a function of at least a fraction of the tension AT in a cable at a point below the surface of the earth and a depth signal representative of a function of the depth L of a tool in a borehole, the combination comprising:

(a) input means for receiving a tension signal and a depth signal; and

(b) combining means responsive to the tension signal and the depth signal for generating an output signal ,u indicative of the changes in depth of the tool relating to the measured tension, the combining means including:

(l) amplifier means responsive to the tension signal for producing an amplifier output signal;

(2) first feedback means, including a linearly variable means having a parameter varied in response to the depth signal, for supplying at least a portion of said amplifier output signal to the input of said first amplier;

(3) means responsive to the output signal from said amplifier for producing said output signal )t representative of depth changes; and

(4) second feedback means, including a linearly variable means having a parameter varied in response to the depth signal, for supplying at least a portion of said output signal ,a to the input of said amplifier means whereby the output of said amplifier means is representative of the combination of AT/L and /i/Lz.

3. The apparatus for determining the changes in depth of a tool on the end of a cable in a borehole in response to a tension signal which is a function of at least a frac tion of the tension At in a cable at a point below the surface of the earth and a depth signal representative of a function of the depth L of a tool in a borehole, the combination comprising:

(a) input means for receiving a tension signal and a depth signal; and

(b) combining means responsive to the tension signal and the depth signal for generating an output signal n indicative of the changes in depth of the tool relating to the measured tension, the combining means including:

(1) amplifier means responsive to the tension signal for producing an amplifier output signal;

(2) first feedback means, including a linearly variable means having a parameter varied in response to the depth signal, for supplying at least a portion of said amplifier output signal to the input of said first amplifier;

(3) first integrating means for integrating the output signal from said amplifier for producing a second signal;

(4) second feedback means for supplying at least a portion of said second signal to the input of said first integrating means whereby the input signal to said first integrating means is representative of the second derivative of said output signal n, and the second signal is representative of the first derivative of n;

(5) second integrating means for integrating said second signal to produce said output signal It; and

(6) third feedback means, including a linearly variable means having a parameter varied in response to said depth signal, for supplying at least a portion of said output signal to the input of said amplifier means whereby said amplifier 13 14 output signal is representative of the combina- 3,027,649 4/ 1962 Sloan 33-129 tion of AT /L and ILL/L2.

3,067,519 12/1962 Swift 33-127 References Cited UNITED STATES PATENTS U.S. C1. X.R. 2,907,878 10/1959 Young et al. 328-142 2,950,399 8/1960 Schmid 328-142X 73-151; 324-1; 328-127? 340-18 2,975,369 3/1961 Vance S28-142x STANLEY D. MILLER, JR., Primary Examiner 

